import request from '@/utils/request'
const user = {
  // 登录
  login: data => request.post('/user/login', data),
  // 钉钉登录
  ddLogin: data => request.post('/user/ddLogin', data),
  // 获取用户信息
  getInfo: () => request.get('/user/info')
  // getRoles: () => request.get('/permission/permissionMap'),
  // getEmpInfo: params => request.get('/user/userInfoByEmpNo', { params }),
  // password: data => request.post('/user/updatePassword', data),
}
export default user
